Skip to content

Add MachineRootfs type with SizeGB field#206

Merged
dangra merged 1 commit intomainfrom
add-machine-rootfs-type
Feb 5, 2026
Merged

Add MachineRootfs type with SizeGB field#206
dangra merged 1 commit intomainfrom
add-machine-rootfs-type

Conversation

@dangra
Copy link
Member

@dangra dangra commented Feb 2, 2026

Summary

  • Add MachineRootfs struct with Persist (MachinePersistRootfs) and SizeGB (uint64) fields
  • Add Rootfs field to MachineConfig
  • Deprecate MachineGuest.PersistRootfs in favor of MachineConfig.Rootfs

Test plan

  • go test ./... passes
  • Verify roundtrip JSON serialization of new rootfs field on MachineConfig

🤖 Generated with Claude Code

@dangra dangra force-pushed the add-machine-rootfs-type branch 4 times, most recently from 7470098 to 10be0b0 Compare February 4, 2026 22:40
@dangra dangra changed the title Add MachineRootfs type with SizeMB field Add MachineRootfs type with SizeGB field Feb 4, 2026
Add MachineRootfs struct with Persist and SizeGB fields, add Rootfs
field to MachineConfig, and deprecate MachineGuest.PersistRootfs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dangra dangra force-pushed the add-machine-rootfs-type branch from 10be0b0 to b286acd Compare February 4, 2026 22:43
@mrkurt
Copy link
Member

mrkurt commented Feb 5, 2026

👍

@dangra dangra merged commit ef01c86 into main Feb 5, 2026
5 checks passed
@dangra dangra deleted the add-machine-rootfs-type branch February 5, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants